#!/bin/bash

source /database/config/db2inst1/sqllib/db2profile

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/myapp/instantclient
/tmp/myapp/db2 --log-level $DK_LOG_LEVEL --interval $DK_INTERVAL --host localhost --port 50000 --username $DK_USER --password $DB2INST1_PASSWORD --database $DK_DB --service-name $DK_SERVICE --datakit-http-host $DK_HOST --datakit-http-port $DK_PORT
